<extend name="Public:base"/>
<block name="content">
    <div class="row">
        <div class="col-lg-12">
            <div class="panel panel-info">
                <div class="panel-heading">公司员工列表</div>
                <!-- /.panel-heading -->
                <div class="panel-body">
                    <div class="row">
                        <div class="col-sm-12">
                            <button class="btn btn-info btn-xs">全选</button>
                            <button class="btn btn-info btn-xs">删除</button>
                        </div>
                    </div>
                    <br>

                    <div class="table-responsive">
                        <table class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <th><input type="checkbox"></th>
                                <th>编号</th>
                                <th>姓名</th>
                                <th>性别</th>
                                <th>账号</th>
                                <th>用户名</th>
                                <th>权限</th>
                                <th>备注</th>
                                <th>操作</th>
                            </tr>
                            </thead>
                            <tbody>
                            <volist name="users" id="vo">
                                <tr>
                                    <td><input type="checkbox"></td>
                                    <td>{$vo.emp_id}</td>
                                    <td>{$vo.emp_name}</td>
                                    <td>{$vo.emp_gender}</td>
                                    <td>{$vo.emp_account}</td>
                                    <td>{$vo.emp_user}</td>
                                    <td>{$vo.emp_power}</td>
                                    <td>{$vo.emp_remark}</td>
                                    <td>
                                        <!-- Button trigger modal -->
                                        <a href="{:U('Employee/edit', array('id' => $vo['emp_id']))}"
                                           class="btn btn-info btn-xs">修改</a> <!-- Modal -->
                                        <a href="{:U('Employee/del', array('id' => $vo['emp_id']))}"
                                           class="btn btn-info btn-xs">删除</a>
                                    </td>
                                </tr>
                            </volist>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.table-responsive -->
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-6 -->
    </div>
</block>